<?php
namespace App\Entities;

class OrderCommentLabelEntity extends ABaseEntity
{
    /**
     * OrderCommentLabelEntity constructor.
     */
    public function __construct(OrderCommentLabelModel $model)
    {
        $this->model = $model;
    }

    public function getId(): int
    {
        return (int) $this->model->id;
    }

    public function setId(int $id): void
    {
        $this->model->id = $id;
    }

    public function getOrderId(): int
    {
        return (int) $this->model->order_id;
    }

    public function setOrderId(int $order_id): void
    {
        $this->model->order_id = $order_id;
    }

    public function getOaGid(): string
    {
        return (string) $this->model->oa_gid;
    }

    public function setOaGid(string $oa_gid): void
    {
        $this->model->oa_gid = $oa_gid;
    }

    public function getLabelId(): int
    {
        return (int) $this->model->label_id;
    }

    public function setLabelId(int $label_id): void
    {
        $this->model->label_id = $label_id;
    }

    public function getLabelName(): string
    {
        return (string) $this->model->label_name;
    }

    public function setLabelName(string $label_name): void
    {
        $this->model->label_name = $label_name;
    }

    public function getCreatedAt(): string
    {
        return (string) $this->model->created_at;
    }

    public function setCreatedAt(string $created_at): void
    {
        $this->model->created_at = $created_at;
    }
}
